
function toSetInfo(id) {
	uni.navigateTo({
		url: '/pages/my/setUserInfo'
	});

}
function toSetting(id) {
	uni.navigateTo({
		url: '/pages/my/setting'
	});

}
function toSearch(id) {
	uni.navigateTo({
		url: '/pages/index/search'
	});

}
function toDetail(id) {
	let _id = id || ''
	uni.navigateTo({
		url: '/pages/index/detail?id='+_id 
	});

}

export default {
  toSetInfo,
  toSetting,
  toSearch,
  toDetail
}